package cn.agiledata.bank.myspace.exception;

import cn.agiledata.bank.audit.exception.AuditException;
import com.vnv.infrastructure.exception.IPBAppException;

public class MySpaceException extends IPBAppException {
    // 对不起，您的手机确认码填写不正确，请核实！
    public static final MySpaceException SMS_CONFIRM_ERROR = new MySpaceException(
            "error.mobile.sms_confirm_error");

    // 对不起，您的校验码已经失效，需要重新输入（校验码的有效期是15分钟）！
    public static final MySpaceException VERIFYCODE_INVALID = new MySpaceException(
            "error.account.verifycode_invalid_error");

    // 对不起，您的校验码填写错误！
    public static final MySpaceException WRONG_VERIFYCODE = new MySpaceException(
            "error.account.verifycode_error");

    // 对不起，您提交的数据格式不正确，请核实！
    public static final MySpaceException INFORMAL_FORM = new MySpaceException(
            "error.form.form_informal_error");

    // 邮箱地址已经被使用，请更换新的邮箱地址！
    public static final MySpaceException REGISTER_EMAIL_DUPLICATED = new MySpaceException(
            "error.email.email_duplicated_error");

    // 该手机号码已经被使用，请更换新的手机号码！
    public static final MySpaceException REGISTER_MOBILE_DUPLICATED = new MySpaceException(
            "error.mobile.mobile_duplicated_error");

    // 对不起，支付密码填写错误，请核实！
    public static final MySpaceException PAYPASS_ERROR = new MySpaceException(
            "error.account.paypass_error");

    // 对不起，Email不能为空！
    public static final MySpaceException EMPTY_EMAIL_ERROR = new MySpaceException(
            "error.email.empty_email_error");

    // 对不起，手机不能为空！
    public static final MySpaceException EMPTY_MOBILE_ERROR = new MySpaceException(
            "error.mobile.empty_mobile_error");

    // 对不起，Email激活码不能空！
    public static final MySpaceException EMAIL_ACTIVE_EMPTY = new MySpaceException(
            "error.email.active_empty");

    // 对不起，Email激活码错误，请核对！
    public static final MySpaceException EMAIL_ACTIVE_ERROR = new MySpaceException(
            "error.email.avtive_error");

    // 对不起，帐号不存在！
    public static final MySpaceException ACTIVATE_ACCOUNT_NOT_EXIST = new MySpaceException(
            "error.account.active_account_notexits");

    // 对不起，该账号以激活！
    public static final MySpaceException AVTIVETED_ACCOUNT = new MySpaceException(
            "error.account.activeted_account");

    // 对不起，短信发送失败！
    public static final MySpaceException SMS_SEND_ERROR = new MySpaceException(
            "error.mobile.sms_send_error");

    // 对不起，手机激活码错误，请核实！
    public static final MySpaceException MOBILE_ACTIVECODE_ERROR = new MySpaceException(
            "error.mobile.mobile_activecode_error");
    // 对不起，操作员还有交易要做不能删除！
    public static final MySpaceException OPER_DELE_ERROR_FORUSED = new MySpaceException(
            "error.audit.operator_delete_failed_forUsed");
    

    public static final MySpaceException OPER_DEL_FAILED = new MySpaceException(
	"error.audit.operator_delete_failed");

public static final MySpaceException OPER_AMEND_FAILED = new MySpaceException(
"error.audit.operator_amend_failed");

    /**
     * 已存在的交易对方账户异常
     */
    public static final MySpaceException EXISTED_PEER_ACCOUNT = new MySpaceException(
            "error.account.existed_peer_account");
    
    
    /**
     * 对方Email或者手机必须输入
     */
    public static final MySpaceException PEER_INNER_ACCOUNT_MUST_INPUT = new MySpaceException(
    		"validate.peeraccount.peer_inner_account_must_input");
    /**
     * 不存在此账户
     */
    public static final MySpaceException NOT_EXISTED_ACCOUNT = new MySpaceException(
    		"error.account.not_existed_account");
    /**
     * email或者手机状态为无效
     */
    public static final MySpaceException NOT_NORMAL_EMAIL_OR_MOBILE_STATUS = new MySpaceException(
	"error.account.not_normal_email_or_mobile_status");
   /**
    * 冻结的账户
    */
    public static final MySpaceException LOCK_ACCOUNT =  new MySpaceException(
	"error.account.lock_account");
    /**
     * 未通过审核的企业客户
     */
    public static final MySpaceException NOT_VALID_CORP_CUSTOMER = new MySpaceException(
	"error.account.not_valid_corp_customer");
    /**
     * 不能添加自己的账户为联系人
     */
    public static final MySpaceException CAN_NOT_ADD_MY_ACCOUNT = new MySpaceException(
	"error.peeraccount.can_not_add_my_account");
    /**
     * 不唯一的联系人
     */
    public static final MySpaceException NOT_UNIQUE_PEER_INNER_ACCOUNT = new MySpaceException(
	"error.peeraccount.not_unique_peer_inner_account");

    

    

    

    

    
    
    
    

    public MySpaceException(String code) {
        super(code);
    }

    public MySpaceException(String code, Object[] args) {
        super(code, args);
    }

    public MySpaceException(String code, Object arg) {
        super(code, arg);
    }

    public MySpaceException(String code, Object[] args, String defaultMessage) {
        super(code, args, defaultMessage);
    }

}
